{
 "cells": [
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "## 第十一题 组合数字",
   "id": "53676acdc099ed9e"
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "#### 1、2、3、4组成多少个互不相同且无重复数字的三位数、各是多少？",
   "id": "cc5077b14b2205ce"
  },
  {
   "cell_type": "code",
   "id": "initial_id",
   "metadata": {
    "collapsed": true,
    "ExecuteTime": {
     "end_time": "2025-03-02T01:25:15.852390Z",
     "start_time": "2025-03-02T01:25:15.779546Z"
    }
   },
   "source": [
    "# list1=[1,2,3,4]\n",
    "# count=0\n",
    "# for i in range(len(list1)-1):    #i取的是0，1，2！！！\n",
    "#     bai=list1[i]\n",
    "#     list2=list1.pop(i)\n",
    "#     for j in range(len(list2)-1):   #j取的是0，1\n",
    "#         shi=list2[j]\n",
    "#         list3=list2.pop(j)\n",
    "#         for k in range(len(list3)-1):  #k取的是0\n",
    "#             ge=list3[k]\n",
    "#             count+=1\n",
    "#             num=100*bai+10*shi+ge\n",
    "#             print(num,end='')\n",
    "# print(count)\n",
    "#有点问题。。。。。"
   ],
   "outputs": [
    {
     "ename": "TypeError",
     "evalue": "object of type 'int' has no len()",
     "output_type": "error",
     "traceback": [
      "\u001B[1;31m---------------------------------------------------------------------------\u001B[0m",
      "\u001B[1;31mTypeError\u001B[0m                                 Traceback (most recent call last)",
      "Cell \u001B[1;32mIn[4], line 6\u001B[0m\n\u001B[0;32m      4\u001B[0m bai\u001B[38;5;241m=\u001B[39mlist1[i]\n\u001B[0;32m      5\u001B[0m list2\u001B[38;5;241m=\u001B[39mlist1\u001B[38;5;241m.\u001B[39mpop(i)\n\u001B[1;32m----> 6\u001B[0m \u001B[38;5;28;01mfor\u001B[39;00m j \u001B[38;5;129;01min\u001B[39;00m \u001B[38;5;28mrange\u001B[39m(\u001B[38;5;28mlen\u001B[39m(list2)\u001B[38;5;241m-\u001B[39m\u001B[38;5;241m1\u001B[39m):\n\u001B[0;32m      7\u001B[0m     shi\u001B[38;5;241m=\u001B[39mlist2[j]\n\u001B[0;32m      8\u001B[0m     list3\u001B[38;5;241m=\u001B[39mlist2\u001B[38;5;241m.\u001B[39mpop(j)\n",
      "\u001B[1;31mTypeError\u001B[0m: object of type 'int' has no len()"
     ]
    }
   ],
   "execution_count": 4
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T01:33:37.917726Z",
     "start_time": "2025-03-02T01:33:37.901229Z"
    }
   },
   "cell_type": "code",
   "source": [
    "count=0\n",
    "for i in range(1,5):\n",
    "    for j in range(1,5):\n",
    "        for k in range(1,5):\n",
    "            if (i!=j) and (i!=k) and (j!=k):\n",
    "                count+=1\n",
    "                print(f'{i}{j}{k}',end=' ')\n",
    "print(f'一共能组成{count}个')"
   ],
   "id": "31c04780508794b7",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "123 124 132 134 142 143 213 214 231 234 241 243 312 314 321 324 341 342 412 413 421 423 431 432 一共能组成24个\n"
     ]
    }
   ],
   "execution_count": 7
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T01:40:51.112473Z",
     "start_time": "2025-03-02T01:40:51.085128Z"
    }
   },
   "cell_type": "code",
   "source": [
    "from itertools import permutations\n",
    "list=[1,2,3,4]\n",
    "count=0\n",
    "# perms=permutations(list,3)\n",
    "# \n",
    "# for perm in perms:\n",
    "#     count+=1\n",
    "#     print(perm)\n",
    "\n",
    "for perm in permutations(list,3):      #permutations(list,3):生成列表中所有可能的三个数字的排列组合\n",
    "    bai,shi,ge=perm\n",
    "    num=100*bai+10*shi+ge\n",
    "    print(num,end=' ')\n",
    "    count+=1\n",
    "\n",
    "print(f'一共{count}个')"
   ],
   "id": "eef7cec2f036cbc9",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "123 124 132 134 142 143 213 214 231 234 241 243 312 314 321 324 341 342 412 413 421 423 431 432 一共0个\n"
     ]
    }
   ],
   "execution_count": 10
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "## 第十二题 打印乘法口诀表",
   "id": "ea7248116f959391"
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T01:51:16.455740Z",
     "start_time": "2025-03-02T01:51:16.436327Z"
    }
   },
   "cell_type": "code",
   "source": [
    "for i in range(1,10):  #行\n",
    "    for j in range(1,i+1):\n",
    "        # print(f'{i}*{j}={i*j}',end=' ')\n",
    "        print(f'\\t{i}*{j}={i*j}',end=' ')    #制表符\\t\n",
    "    print()"
   ],
   "id": "853b76c93a47077b",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\t1*1=1 \n",
      "\t2*1=2 \t2*2=4 \n",
      "\t3*1=3 \t3*2=6 \t3*3=9 \n",
      "\t4*1=4 \t4*2=8 \t4*3=12 \t4*4=16 \n",
      "\t5*1=5 \t5*2=10 \t5*3=15 \t5*4=20 \t5*5=25 \n",
      "\t6*1=6 \t6*2=12 \t6*3=18 \t6*4=24 \t6*5=30 \t6*6=36 \n",
      "\t7*1=7 \t7*2=14 \t7*3=21 \t7*4=28 \t7*5=35 \t7*6=42 \t7*7=49 \n",
      "\t8*1=8 \t8*2=16 \t8*3=24 \t8*4=32 \t8*5=40 \t8*6=48 \t8*7=56 \t8*8=64 \n",
      "\t9*1=9 \t9*2=18 \t9*3=27 \t9*4=36 \t9*5=45 \t9*6=54 \t9*7=63 \t9*8=72 \t9*9=81 \n"
     ]
    }
   ],
   "execution_count": 18
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "## 第十三题 水仙花数   ",
   "id": "7821cd13f38a7d10"
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "#### 水仙花数：一个三位数，各位数字立方和等于该数字本身",
   "id": "a8d0ee649365ce4a"
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T01:59:16.774946Z",
     "start_time": "2025-03-02T01:59:16.750986Z"
    }
   },
   "cell_type": "code",
   "source": [
    "for i in range(1,10):  #百\n",
    "    for j in range(0,10):\n",
    "        for k in range(0,10):\n",
    "            if i**3+j**3+k**3==100*i+10*j+k:\n",
    "                print(100                   *i+10*j+k,end=' ')"
   ],
   "id": "791dd120923c235e",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "153 370 371 407 "
     ]
    }
   ],
   "execution_count": 20
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T08:08:37.191764Z",
     "start_time": "2025-03-02T08:08:37.182453Z"
    }
   },
   "cell_type": "code",
   "source": [
    "for i in range(100,1000):\n",
    "    a=i%10   #个位\n",
    "    b=(i%100)//10    #十位\n",
    "    c=i//100    #百位\n",
    "    if a*a*a+b*b*b+c*c*c==i:\n",
    "        print(f'{i}是水仙花数')"
   ],
   "id": "1e472004750463c1",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "153是水仙花数\n",
      "370是水仙花数\n",
      "371是水仙花数\n",
      "407是水仙花数\n"
     ]
    }
   ],
   "execution_count": 23
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "## 第十四题 反向输出四位数",
   "id": "f2987f8f32ffc32"
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "",
   "id": "2b170b9f478024d5"
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T08:18:43.816892Z",
     "start_time": "2025-03-02T08:18:38.584373Z"
    }
   },
   "cell_type": "code",
   "source": [
    "#用切片\n",
    "num=int(input(\"请输入一个四位数\"))\n",
    "num=str(num)\n",
    "num=num[::-1]\n",
    "num=int(num)\n",
    "print(num)\n"
   ],
   "id": "9d8f74cdea524eaf",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "9876\n"
     ]
    }
   ],
   "execution_count": 25
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "## 第十五题 判断字母",
   "id": "95f2125a7198f1a5"
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "#### 输入字符，判断是否为字母",
   "id": "6bff4c5ec9fea05b"
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T08:22:06.810404Z",
     "start_time": "2025-03-02T08:22:01.710127Z"
    }
   },
   "cell_type": "code",
   "source": [
    "# a=input('请输入字符')   #input()返回的是字符串\n",
    "# if a>=65 and a<=122:\n",
    "#     print(\"是字母\")\n",
    "# else:\n",
    "#     print(\"不是\")"
   ],
   "id": "cf3e4acf251d6f38",
   "outputs": [
    {
     "ename": "TypeError",
     "evalue": "'>=' not supported between instances of 'str' and 'int'",
     "output_type": "error",
     "traceback": [
      "\u001B[1;31m---------------------------------------------------------------------------\u001B[0m",
      "\u001B[1;31mTypeError\u001B[0m                                 Traceback (most recent call last)",
      "Cell \u001B[1;32mIn[26], line 2\u001B[0m\n\u001B[0;32m      1\u001B[0m a\u001B[38;5;241m=\u001B[39m\u001B[38;5;28minput\u001B[39m(\u001B[38;5;124m'\u001B[39m\u001B[38;5;124m请输入字符\u001B[39m\u001B[38;5;124m'\u001B[39m)\n\u001B[1;32m----> 2\u001B[0m \u001B[38;5;28;01mif\u001B[39;00m a\u001B[38;5;241m>\u001B[39m\u001B[38;5;241m=\u001B[39m\u001B[38;5;241m65\u001B[39m \u001B[38;5;129;01mand\u001B[39;00m a\u001B[38;5;241m<\u001B[39m\u001B[38;5;241m=\u001B[39m\u001B[38;5;241m122\u001B[39m:\n\u001B[0;32m      3\u001B[0m     \u001B[38;5;28mprint\u001B[39m(\u001B[38;5;124m\"\u001B[39m\u001B[38;5;124m是字母\u001B[39m\u001B[38;5;124m\"\u001B[39m)\n\u001B[0;32m      4\u001B[0m \u001B[38;5;28;01melse\u001B[39;00m:\n",
      "\u001B[1;31mTypeError\u001B[0m: '>=' not supported between instances of 'str' and 'int'"
     ]
    }
   ],
   "execution_count": 26
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T08:30:56.378716Z",
     "start_time": "2025-03-02T08:30:44.355717Z"
    }
   },
   "cell_type": "code",
   "source": [
    "a=input('请输入单个字符') #input()返回的是字符串\n",
    "if len(a)!=1:\n",
    "    print('不是单个字符请重新输入')\n",
    "ascii_a=ord(a)\n",
    "if (ascii_a>=65 and ascii_a<=90) or (ascii_a>=97 and ascii_a<=122):\n",
    "    print(\"是字母\")\n",
    "else:\n",
    "    print(\"不是字母\")\n"
   ],
   "id": "2babc175a54bf061",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "不是字母\n"
     ]
    }
   ],
   "execution_count": 31
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T08:33:01.566131Z",
     "start_time": "2025-03-02T08:32:53.902940Z"
    }
   },
   "cell_type": "code",
   "source": [
    "a=input('请输入单个字符')\n",
    "if len(a)!=1:\n",
    "    print('不是单个字符请重新输入')\n",
    "if a.isalpha():\n",
    "    print(\"是字母\")\n",
    "else:\n",
    "    print(\"不是字母\")\n"
   ],
   "id": "8282a80e5dda369a",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "是字母\n"
     ]
    }
   ],
   "execution_count": 33
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "## 第十六题 判断三角形",
   "id": "b57ac5ff913ddb58"
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "#### 输入三组数据，判断是否能构成三角形的三条边",
   "id": "5c596b7ed69d85b5"
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T09:52:39.856890Z",
     "start_time": "2025-03-02T09:52:32.969187Z"
    }
   },
   "cell_type": "code",
   "source": [
    "#搞成直角三角形了...\n",
    "# a=int(input(\"请输入第一个数\"))\n",
    "# b=int(input(\"请输入第二个数\"))\n",
    "# c=int(input(\"请输入第三个数\"))\n",
    "# flag=False\n",
    "# if a>b:\n",
    "#     if a>c:\n",
    "#         max=a\n",
    "#         if a*a==b*b+c*c:\n",
    "#             flag=True\n",
    "#     else:\n",
    "#         max=c\n",
    "#         if c*c==a*a+b*b:\n",
    "#             flag=True\n",
    "# else:\n",
    "#     if b>c:\n",
    "#         max=b\n",
    "#         if b*b==a*a+c*c:\n",
    "#             flag=True\n",
    "#     else:\n",
    "#         max=c\n",
    "#         if c*c==a*a+b*b:\n",
    "#             flag=True\n",
    "# if flag:\n",
    "#     print(\"能构成三角形\")\n",
    "# else:\n",
    "#     print(\"不能构成三角形\")\n",
    "\n",
    "        \n",
    "    "
   ],
   "id": "2fee810ab1e66e49",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "不能构成三角形\n"
     ]
    }
   ],
   "execution_count": 36
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T09:56:30.702603Z",
     "start_time": "2025-03-02T09:56:21.643662Z"
    }
   },
   "cell_type": "code",
   "source": [
    "a=int(input(\"请输入第一个数\"))\n",
    "b=int(input(\"请输入第二个数\"))\n",
    "c=int(input(\"请输入第三个数\"))\n",
    "def pd(x,y,z):\n",
    "    if (x+y>z) and (x-y<z):\n",
    "        return True\n",
    "if pd(a,b,c):\n",
    "    print(\"能构成三角形\")\n",
    "else:\n",
    "    print(\"不能构成三角形\")"
   ],
   "id": "18f3512b8d64b1ae",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "不能构成三角形\n"
     ]
    }
   ],
   "execution_count": 37
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T10:00:26.242557Z",
     "start_time": "2025-03-02T10:00:19.839276Z"
    }
   },
   "cell_type": "code",
   "source": [
    "a=int(input(\"请输入第一个数\"))\n",
    "b=int(input(\"请输入第二个数\"))\n",
    "c=int(input(\"请输入第三个数\"))\n",
    "if a<0 or b<0 or c<0:\n",
    "    print(\"输入不合法\")\n",
    "if a+b>c and a+c>b and b+c>a:\n",
    "    print(\"能构成三角形\")\n",
    "else:\n",
    "    print(\"不能构成三角形\")"
   ],
   "id": "f42dfe530136030a",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "能构成三角形\n"
     ]
    }
   ],
   "execution_count": 38
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "## 第十七题 完数-找出1000以内的所有完数",
   "id": "8a38ef2f7e42d36f"
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "#### 完数：一个数恰好等于除了它以外的因子之和(eg:6是一个“完数”，它的因子是1，2，3)",
   "id": "282cea73aec8701e"
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T10:15:08.793474Z",
     "start_time": "2025-03-02T10:15:08.662837Z"
    }
   },
   "cell_type": "code",
   "source": [
    "for i in range(1,1001):\n",
    "    num=0\n",
    "    for j in range(1,i):   #只需检查到i//2即可 for j in range(1,i//2+1):   \n",
    "        if i%j==0:\n",
    "            num+=j\n",
    "    if num==i:\n",
    "                print(f'{i}是完数')\n",
    "            "
   ],
   "id": "27072571400cb3e8",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "6是完数\n",
      "28是完数\n",
      "496是完数\n"
     ]
    }
   ],
   "execution_count": 45
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "## 第十八题：找质数因子",
   "id": "c4587c5e133b5989"
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "#### 输入一个正整数，输出它所有质数因子(eg:180的质数因子为2、2、3、3、5)",
   "id": "b05c2973e0f880c0"
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T10:30:31.371861Z",
     "start_time": "2025-03-02T10:30:28.730465Z"
    }
   },
   "cell_type": "code",
   "source": [
    "# num=int(input('请输入一个正整数：'))\n",
    "# flag=False\n",
    "# list1=[]\n",
    "# list2=[]\n",
    "# for i in range(2,num):\n",
    "#     if num%i!=0:\n",
    "#         flag=True\n",
    "#         if flag==True:\n",
    "#             list1.append(i)\n",
    "# \n",
    "# for j in list1:\n",
    "#     num2=num\n",
    "#     if num%j==0:\n",
    "#         list2.append(j)\n",
    "#         num2-=j\n",
    "#         if num2<0:\n",
    "#             break\n",
    "# print(f\"{num}的质数因子为{list2}\")\n",
    "#又有问题啦  QAQ"
   ],
   "id": "15a0ed4bf072b695",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "66的质数因子为[]\n"
     ]
    }
   ],
   "execution_count": 49
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T10:36:36.664542Z",
     "start_time": "2025-03-02T10:36:33.531586Z"
    }
   },
   "cell_type": "code",
   "source": [
    "num=int(input('请输入一个正整数：'))\n",
    "list=[]\n",
    "i=2\n",
    "while i<=num:\n",
    "    if num%i==0:\n",
    "        list.append(i)\n",
    "        num//=i\n",
    "    else:\n",
    "        i+=1\n",
    "print(f\"{num}的质数因子为{list}\")"
   ],
   "id": "883ff6ac73dc8347",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1的质数因子为[2, 2, 3, 3, 5]\n"
     ]
    }
   ],
   "execution_count": 51
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "## 第十九题：海伦公式求三角形面积",
   "id": "b6f4d2fa7957437b"
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "#### 海伦公式是利用三角形的三条边长直接求三角形面积的公式p=(a+b+c)/2    S=(p*(p-a)*(p-b)*(p-c))**(1/2)",
   "id": "9f2d7d90d9f3ba5d"
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T10:49:37.016137Z",
     "start_time": "2025-03-02T10:49:30.387358Z"
    }
   },
   "cell_type": "code",
   "source": [
    "# import math\n",
    "a=int(input(\"请输入第一条边\"))\n",
    "b=int(input(\"请输入第二条边\"))\n",
    "c=int(input(\"请输入第三条边\"))\n",
    "p=(a+b+c)/2\n",
    "S=(p*(p-a)*(p-b)*(p-c))**(1/2)   \n",
    "# S=math.sqrt(p*(p-a)*(p-b)*(p-c))\n",
    "print(f'三角形的面积为{S}')"
   ],
   "id": "4db7e3b6fcecc07c",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "三角形的面积为6.0\n"
     ]
    }
   ],
   "execution_count": 59
  },
  {
   "metadata": {},
   "cell_type": "markdown",
   "source": "## 第二十题 判断某年某天——输入某月某日，判断这一天是这一年的第几天",
   "id": "3c1ee3e63709190c"
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T11:08:13.621451Z",
     "start_time": "2025-03-02T11:08:06.545279Z"
    }
   },
   "cell_type": "code",
   "source": [
    "#这个有一点点没搞懂。\n",
    "import datetime\n",
    "year,month,day=map(int,input().split(\" \"))\n",
    "yuandan=datetime.datetime(year,1,1)\n",
    "now=datetime.datetime(year,month,day)\n",
    "print((now-yuandan).days+1)"
   ],
   "id": "ceac45ac6b5a24",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "266\n"
     ]
    }
   ],
   "execution_count": 67
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T11:17:56.726842Z",
     "start_time": "2025-03-02T11:17:56.713820Z"
    }
   },
   "cell_type": "code",
   "source": [
    "from datetime import date, timedelta\n",
    "\n",
    "day1=date(2025,10,2)\n",
    "day2=date(2025,12,31)\n",
    "timedelta=day2-day1\n",
    "print(timedelta.days)#在 Python 的 datetime 模块中，.days 是 timedelta 对象的一个属性，用于表示两个日期或时间之间的天数差。timedelta 是 datetime 模块中用于表示时间间隔的类，可以用于日期和时间的加减运算。"
   ],
   "id": "a281ee320edfd4f8",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "90\n"
     ]
    }
   ],
   "execution_count": 71
  },
  {
   "metadata": {
    "ExecuteTime": {
     "end_time": "2025-03-02T11:11:06.379655Z",
     "start_time": "2025-03-02T11:11:06.370830Z"
    }
   },
   "cell_type": "code",
   "source": "\n",
   "id": "2ac71d0c1c9b1b28",
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "90\n"
     ]
    }
   ],
   "execution_count": 70
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.6"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
